how to get api documentation